//************************************************************************
// PhoneNumber.java        Java Foundations
//************************************************************************

import java.text.DecimalFormat;
import java.util.Random;
 
public class PhoneNumber33
{
    public static void main (String[] args)
    {
    Random generator = new Random();
    int num1, num2, num3, num4, num5;
   
    num1 = generator.nextInt(8);
    num2 = generator.nextInt(8);
    num3 = generator.nextInt(8);
    num4 = generator.nextInt(743);
    num5 = generator.nextInt(10000);

    DecimalFormat fmt1 = new DecimalFormat ("000");
    DecimalFormat fmt2 = new DecimalFormat ("0000");
   
    System.out.println ("The phone number: " + num1 + num2 + num3 + fmt1.format(num4) + fmt2.format(num5));
    }
}
